package cn.wolfcode.cloud.shop.mapper;

import cn.wolfcode.cloud.shop.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Description: 用户持久层接口
 * @Author: 伍家钰
 * @Date: 2020/9/5 18:51
 * @Version: 1.0
 */
@Mapper
public interface UserMapper {
    @Select("select * from t_user where id=#{id}")
    User selectById(Long id);

}
